package com.ouc.dataMange.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ouc.common.annotation.Excel;
import com.ouc.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * uploadFile对象 sys_upload_file
 *
 * @author ouc
 * @date 2025-07-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUploadFile extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * 文件id
   */
  private Integer fileId;

  /**
   * 文件类型
   */
  @Excel(name = "文件类型")
  private Integer fileType;

  /**
   * 用户id
   */
  @Excel(name = "用户id")
  private Integer userId;

  /**
   * 用户昵称
   */
  @Excel(name = "用户昵称")
  private String userName;

  /**
   * 文件上传时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "文件上传时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date uploadTime;

  /**
   * 文件日期
   */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "文件日期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date fileTime;

  /**
   * 文件路径
   */
  @Excel(name = "文件路径")
  private String filePath;

  /**
   * 文件信息
   */
  @Excel(name = "文件信息")
  private Long fileInfo;

  /**
   * 数据类型id
   */
  @Excel(name = "数据类型id")
  private Integer datamangeId1;

  /**
   * 数据子类型id
   */
  @Excel(name = "数据子类型id")
  private Integer datamangeId2;

  /**
   * 存储设备id
   */
  @Excel(name = "存储设备id")
  private Integer dataMemoryId;

  /**
   * 数据集id
   */
  @Excel(name = "数据集id")
  private Integer dataSetId;

  /**
   * 浏览次数
   */
  @Excel(name = "浏览次数")
  private Integer viewNum;

  /**
   * 最近浏览时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "最近浏览时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date viewTime;

  /**
   * 数据下载次数
   */
  @Excel(name = "数据下载次数")
  private Integer uploadNum;


}
